<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>注册页面</title>
  <!-- 引入外部样式表 -->
  <link rel="stylesheet" href="../CSS/register.css">

</head>
<body>

<div class="register-container">
  <h2>注册</h2>
  <form id="registerForm" method="post" action="/register">
    <div class="input-group">
      <label for="account">账号:</label>
      <input type="text" id="account" name="account" required>
    </div>
    <div class="input-group">
      <label for="password">密码:</label>
      <input type="password" id="password" name="password" required>
    </div>
    <div class="input-group">
      <label for="confirm-password">确认密码:</label>
      <input type="password" id="confirm-password" name="confirm-password" required>
    </div>
<!--    <div class="error-message" id="password-error">密码不匹配，请再次确认。</div>-->
    <button type="submit" class="submit-btn">注册</button>
    <a href="/login">已有账号，去登录</a>
  </form>
</div>

<%-- 引入外部脚本--%>
<!--<script src="./JS/register.js"></script>-->

</body>
</html>


